<route lang="json5" type="page">
  {
    style: {
      navigationBarTitleText: '购课订单',
      enablePullDownRefresh : true
    },
    anonymous: false
  }
</route>

<script lang="ts" setup>
import OrderListTab from './components/OrderListTab.vue'

const tab = ref<number>(0)

onLoad(() => {
  // getList()
})
</script>

<template>
  <wd-tabs v-model="tab" animated sticky>
    <wd-tab title="进行中">
      <OrderListTab :status="['PENDING', 'PAYING', 'PAID']" />
    </wd-tab>
    <wd-tab title="已取消">
      <OrderListTab :status="['CANCELED']" />
    </wd-tab>
  </wd-tabs>
</template>

<style lang="scss" scoped>

</style>
